package mtris;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Panel;

public class MPanel extends Panel
{
	private static final long serialVersionUID = -1033546792823039744L;
	public int boxSize;
	private GameThread game;
	
	public MPanel(int groesse)
	{
		boxSize = groesse;
		setSize(250,250);
		setPreferredSize(getSize());
		setBackground(Color.BLACK);
		game = new GameThread(this);
	}
	public void paint(Graphics g)
	{
		g.setColor(Color.cyan);
		g.drawString("MTest", game.xpos, 40);
	}
	
}
